<?php
class Module extends MModel {
    static $table_name = 'ml_modules';

    static $has_many = array(
        array('ml_modules_menus_availables', 'class_name'=>'Module_Menu'),
        array('ml_menus', 'through'=>'ml_modules_menus_availables', 'source'=>'Menu')
    );
    
    public static $attributeLabel = array(
        'id'=>'mandrill.models.id',
        'name'=>'mandrill.models.name',
        'version'=>'mandrill.models.version',
        'active'=>'mandrill.models.active'
    );
}
?>
